package com.qdc.datacenters.domain.vo.sensitive;

import com.qdc.datacenters.domain.vo.BaseVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author danmo
 * @date 2024-03-07 17:09
 **/
@Schema
@Data
public class SensitiveVo extends BaseVo {

    /**
     * 主键id
     */

    @Schema(description = "主键id")
    private Long id;


    /**
     * 发送人id
     */
    @Schema(description = "名称")
    private String name;


    /**
     * 敏感词汇 用英文;隔离
     */
    @Schema(description = "敏感词汇 用英文,隔离")
    private String words;


    /**
     * 生效范围  0-全部  1-员工  2-客户
     */
    @Schema(description = "生效范围  0-全部  1-员工  2-客户")
    private Integer rangeType;

    /**
     * 状态  0-关闭  1-开启
     */
    @Schema(description = "状态  0-关闭  1-开启")
    private Integer status;

    /**
     * 开启提醒 0-不开启 1-开启
     */
    @Schema(description = "开启提醒 0-不开启 1-开启")
    private Integer remind;


    /**
     * 提醒人员
     */
    @Schema(description = "提醒人员")
    private String remindUser;
    /**
     * 范围
     */
    @Schema(description = "范围")
    private List<EffectRange> rangeList;

    @Schema
    @Data
    public static class EffectRange {
        @Schema(description = "ID")
        private String effectId;
        @Schema(description = "名称")
        private String effectName;
    }
}
